﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NetTopologySuite.Features;

namespace Observer
{
    using NetTopologySuite.Features;
    public interface ISubject
    {
  
        IFeature Feature { get; set; }

        ChangeStatus ChangeStatus { get; set; }

     
        /// <param name="observer">观察者</param>
        void Attach(IObserver observer);

        /// <param name="observer">观察者</param>
        void Detach(IObserver observer);

       
        void Notify();
    }
}
